import request from '@/utils/request'

// 查询所有审核通过的友链列表
export function getAllLinks(query) {
    return request({
        url: '/link/getAllLink',
        method: 'get',
        headers: {
          isToken: true
        },
        params: query
    })
}

export function getAllQuotes(query) {
  return request({
      url: '/link/getAllQuotes',
      method: 'get',
      headers: {
        isToken: true
      },
      params: query
  })
}

